<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
</head>

<body>
<?php

//此文件的作用是生成静态页面

require_once('../inc.php');
if( file_exists("time.php")!=1){
       _fwf ('time.php',time());
	   $cont=file_get_contents(DOMAIN.'_doll/video/index.php');
		echo _fwf('_index.html',$cont);
}else{
	  $timeout=time()-file_get_contents("time.php") ;
	  if( $timeout >60*60 || $_REQUEST['do']=='do' ){
		 $cont=file_get_contents(DOMAIN.'_doll/video/index.php');
		 _fwf ('time.php',time());
		 echo _fwf('_index.html',$cont);
		 echo '<br>'.$timeout;
	 }
}

//echo time();
?>
</body>
</html>